package com.jinxi.sign.mode.prototype.shallow;

/**
 * @Autho changqi.wu
 * @Date 路在脚下，使劲踩！
 */
public class Test {

    public static void main(String[] args) throws CloneNotSupportedException {

        //1、浅克隆
        SColone s1 = new SColone();
        s1.setTitle("s1");
        SColone s2 = (SColone)s1.clone();
        System.out.println(s1 == s2);
        s2.setTitle("s2");
        System.out.println(s1  + "  " +  s2);



    }


}
